<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{/public :: #public_head}"></head>
<body>
<div class="container">
    <div th:replace="~{/public :: #public_header}"></div>
    <div th:replace="~{/public :: #public_time}"></div>
    <div class="main">
        <div th:replace="~{/public :: #public_left(activeUri='user')}"></div>
        <div class="right">
            <div class="form-add">
                <div style="display: flex;justify-content: space-between;">
                    <div>
                        <p>用户id：<span th:text="${user.id}"></span></p>
                        <p>用户名：<span th:text="${user.username}"></span></p>
                        <p>用户昵称：<span th:text="${user.nickname}"></span></p>
                        <p>电子邮箱：<span th:text="${user.email}"></span></p>
                        <p>是否有效：<span th:text="${user.active == 1 ? '是' : '否'}"></span></p>
                        <p>创建时间：<span th:text="${#temporals.format(user.createTime, 'yyyy-MM-dd hh:MM:SS')}"></span></p>
                        <p>更新时间：<span th:text="${#temporals.format(user.updateTime, 'yyyy-MM-dd hh:MM:SS')}"></span></p>
                        <div>
                            <button type="submit" onclick="history.back(-1)">返回</button>
                        </div>
                    </div>
                    <div>
                        <img th:src="${user.userPic}" alt="" width="200" height="300">
                        </img>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div th:replace="~{/public :: #public_footer}"></div>
</div>
</body>
</html>